﻿using MemoryViewControl;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Windows.Forms;

namespace TestProject
{
    
    
    /// <summary>
    ///This is a test class for MemoryHeatMapControlTest and is intended
    ///to contain all MemoryHeatMapControlTest Unit Tests
    ///</summary>
  [TestClass()]
  public class MemoryHeatMapControlTest
  {


    private TestContext testContextInstance;

    /// <summary>
    ///Gets or sets the test context which provides
    ///information about and functionality for the current test run.
    ///</summary>
    public TestContext TestContext
    {
      get
      {
        return testContextInstance;
      }
      set
      {
        testContextInstance = value;
      }
    }

    #region Additional test attributes
    // 
    //You can use the following additional attributes as you write your tests:
    //
    //Use ClassInitialize to run code before running the first test in the class
    //[ClassInitialize()]
    //public static void MyClassInitialize(TestContext testContext)
    //{
    //}
    //
    //Use ClassCleanup to run code after all tests in a class have run
    //[ClassCleanup()]
    //public static void MyClassCleanup()
    //{
    //}
    //
    //Use TestInitialize to run code before running each test
    //[TestInitialize()]
    //public void MyTestInitialize()
    //{
    //}
    //
    //Use TestCleanup to run code after each test has run
    //[TestCleanup()]
    //public void MyTestCleanup()
    //{
    //}
    //
    #endregion


    /// <summary>
    ///A test for MemoryHeatMapControl Constructor
    ///</summary>
    [TestMethod()]
    public void MemoryHeatMapControlConstructorTest()
    {
      MemoryHeatMapControl target = new MemoryHeatMapControl();
      Assert.Inconclusive("TODO: Implement code to verify target");
    }

    /// <summary>
    ///A test for CalculateSizes
    ///</summary>
    [TestMethod()]
    public void CalculateSizesTest()
    {
      MemoryHeatMapControl target = new MemoryHeatMapControl(); // TODO: Initialize to an appropriate value
      target.CalculateSizes();
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for Dispose
    ///</summary>
    [TestMethod()]
    [DeploymentItem("MemoryViewControl.dll")]
    public void DisposeTest()
    {
      MemoryHeatMapControl_Accessor target = new MemoryHeatMapControl_Accessor(); // TODO: Initialize to an appropriate value
      bool disposing = false; // TODO: Initialize to an appropriate value
      target.Dispose(disposing);
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for InitializeComponent
    ///</summary>
    [TestMethod()]
    [DeploymentItem("MemoryViewControl.dll")]
    public void InitializeComponentTest()
    {
      MemoryHeatMapControl_Accessor target = new MemoryHeatMapControl_Accessor(); // TODO: Initialize to an appropriate value
      target.InitializeComponent();
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for IsInputKey
    ///</summary>
    [TestMethod()]
    [DeploymentItem("MemoryViewControl.dll")]
    public void IsInputKeyTest()
    {
      MemoryHeatMapControl_Accessor target = new MemoryHeatMapControl_Accessor(); // TODO: Initialize to an appropriate value
      Keys keyData = new Keys(); // TODO: Initialize to an appropriate value
      bool expected = false; // TODO: Initialize to an appropriate value
      bool actual;
      actual = target.IsInputKey(keyData);
      Assert.AreEqual(expected, actual);
      Assert.Inconclusive("Verify the correctness of this test method.");
    }

    /// <summary>
    ///A test for MemorySpace_MemoryChanged
    ///</summary>
    [TestMethod()]
    [DeploymentItem("MemoryViewControl.dll")]
    public void MemorySpace_RedrawTest()
    {
      MemoryHeatMapControl_Accessor target = new MemoryHeatMapControl_Accessor(); // TODO: Initialize to an appropriate value
      object sender = null; // TODO: Initialize to an appropriate value
      EventArgs args = null; // TODO: Initialize to an appropriate value
      target.MemorySpace_Redraw(sender, args);
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for OnKeyDown
    ///</summary>
    [TestMethod()]
    [DeploymentItem("MemoryViewControl.dll")]
    public void OnKeyDownTest()
    {
      MemoryHeatMapControl_Accessor target = new MemoryHeatMapControl_Accessor(); // TODO: Initialize to an appropriate value
      KeyEventArgs e = null; // TODO: Initialize to an appropriate value
      target.OnKeyDown(e);
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for OnMouseMove
    ///</summary>
    [TestMethod()]
    [DeploymentItem("MemoryViewControl.dll")]
    public void OnMouseMoveTest()
    {
      MemoryHeatMapControl_Accessor target = new MemoryHeatMapControl_Accessor(); // TODO: Initialize to an appropriate value
      MouseEventArgs e = null; // TODO: Initialize to an appropriate value
      target.OnMouseMove(e);
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for OnMouseWheel
    ///</summary>
    [TestMethod()]
    [DeploymentItem("MemoryViewControl.dll")]
    public void OnMouseWheelTest()
    {
      MemoryHeatMapControl_Accessor target = new MemoryHeatMapControl_Accessor(); // TODO: Initialize to an appropriate value
      MouseEventArgs e = null; // TODO: Initialize to an appropriate value
      target.OnMouseWheel(e);
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for OnPaint
    ///</summary>
    [TestMethod()]
    [DeploymentItem("MemoryViewControl.dll")]
    public void OnPaintTest()
    {
      MemoryHeatMapControl_Accessor target = new MemoryHeatMapControl_Accessor(); // TODO: Initialize to an appropriate value
      PaintEventArgs pe = null; // TODO: Initialize to an appropriate value
      target.OnPaint(pe);
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for OnPropertyChanged
    ///</summary>
    [TestMethod()]
    [DeploymentItem("MemoryViewControl.dll")]
    public void OnPropertyChangedTest()
    {
      MemoryHeatMapControl_Accessor target = new MemoryHeatMapControl_Accessor(); // TODO: Initialize to an appropriate value
      string propertyName = string.Empty; // TODO: Initialize to an appropriate value
      target.OnPropertyChanged(propertyName);
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for OnMemoryChanged
    ///</summary>
    [TestMethod()]
    public void RedrawMemoryTest()
    {
      MemoryHeatMapControl target = new MemoryHeatMapControl(); // TODO: Initialize to an appropriate value
      bool dirty = false; // TODO: Initialize to an appropriate value
      target.RedrawMemory(dirty);
      Assert.Inconclusive("A method that does not return a value cannot be verified.");
    }

    /// <summary>
    ///A test for HeatMapScale
    ///</summary>
    [TestMethod()]
    public void HeatMapScaleTest()
    {
      MemoryHeatMapControl target = new MemoryHeatMapControl(); // TODO: Initialize to an appropriate value
      float expected = 0F; // TODO: Initialize to an appropriate value
      float actual;
      target.HeatMapScale = expected;
      actual = target.HeatMapScale;
      Assert.AreEqual(expected, actual);
      Assert.Inconclusive("Verify the correctness of this test method.");
    }

    /// <summary>
    ///A test for HeatMapWidth
    ///</summary>
    [TestMethod()]
    public void HeatMapWidthTest()
    {
      MemoryHeatMapControl target = new MemoryHeatMapControl(); // TODO: Initialize to an appropriate value
      int expected = 0; // TODO: Initialize to an appropriate value
      int actual;
      target.HeatMapWidth = expected;
      actual = target.HeatMapWidth;
      Assert.AreEqual(expected, actual);
      Assert.Inconclusive("Verify the correctness of this test method.");
    }

    /// <summary>
    ///A test for MemorySpace
    ///</summary>
    [TestMethod()]
    public void MemorySpaceTest()
    {
      MemoryHeatMapControl target = new MemoryHeatMapControl(); // TODO: Initialize to an appropriate value
      MemorySpace expected = null; // TODO: Initialize to an appropriate value
      MemorySpace actual;
      target.MemorySpace = expected;
      actual = target.MemorySpace;
      Assert.AreEqual(expected, actual);
      Assert.Inconclusive("Verify the correctness of this test method.");
    }
  }
}
